package com.wutianyi.images;

import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;

public class Test
{
    public static void main(String[] args)
    {
        GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
        GraphicsDevice defaultDevice = env.getDefaultScreenDevice();
        GraphicsConfiguration[] configs = defaultDevice.getConfigurations();
        for (int z=0; z < configs.length; z++)
            System.out.println(configs[z]);
    }
}
